package ecitys.gcs

import ecitys.types.Money;


class ValorIndice {
	
	Date dataDeVigencia
	Money valor
	Indice indice
	
	String toString(){
		indice.indice
	}
		
	static mapping = {
		table schema:"gcs"
	}
	
	static belongsTo = [indice:Indice]

	static constraints = {
		indice(blank:false, nullable:false)
		dataDeVigencia(blank:false, nullable:false)
		valor(blank:false, nullable:false)
    }
}
